import request from '@/utils/request'

// 获取日志列表
export function getLogList(data) {
  return request({
    url: '/log/list',
    method: 'get',
    params: data
  })
}

// 删除日志
export function deleteLog(id) {
  return request({
    url: '/log/del/' + id,
    method: 'post',
    data: { id }
  })
}
